package com.lanxin.jet.services;

import java.util.List;

import com.lanxin.jet.beans.CommentBean;

public interface CommentService {

    public final static int STATUS_NORMAL   = 0; //正常
    public final static int STTAUS_OPEN     = 1; //公开

    //标准CURD
    public String insert(String content, String bid, String uid);
    public int count(String bid, int status, String keyword);
    public CommentBean get(String id);
    public List<CommentBean> getList(int offset, int limit, String bid, int status, String keyword);
    public void update(CommentBean comment);
    public void delete(String id);
}